package ${entityInfo.mapperPackage};

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import ${entityInfo.superClassFullName};
import ${entityInfo.entityFullClassName};
import org.apache.ibatis.annotations.Mapper;
<#if useCache>
import org.apache.ibatis.annotations.CacheNamespace;
import com.baomidou.mybatisplus.extension.toolkit.MybatisPlusCache;
</#if>

<#if useCache>
/**
 * ${entityInfo.entityClassName} 表数据库访问层
 */
@CacheNamespace(implementation = MybatisPlusCache.class, eviction = MybatisPlusCache.class)
</#if>
@Mapper
public interface ${entityInfo.mapperClassName} extends ${entityInfo.superClassName}<${entityInfo.entityClassName}> {

<#if customMethods?has_content>
    <#list customMethods?keys as method>
    /**
     * ${customMethods[method]}
     */
    ${method};
    </#list>
</#if>
}